package com.lframework.xingyun.promo.service.fullreduction;

import com.lframework.starter.web.core.service.BaseMpService;
import com.lframework.starter.web.core.components.resp.PageResult;
import com.lframework.xingyun.promo.entity.MarketingFullreduction;
import com.lframework.xingyun.promo.vo.fullreduction.CreateMarketingFullreductionVo;
import com.lframework.xingyun.promo.vo.fullreduction.QueryMarketingFullreductionVo;
import com.lframework.xingyun.promo.vo.fullreduction.UpdateMarketingFullreductionVo;

import java.util.List;

/**
 * 限时满减活动表 Service
 */
public interface MarketingFullreductionService extends BaseMpService<MarketingFullreduction> {

    /**
     * 查询列表
     * @return
     */
    PageResult<MarketingFullreduction> queryPage(Integer pageIndex, Integer pageSize, QueryMarketingFullreductionVo vo);

    /**
     * 查询列表
     * @param vo
     * @return
     */
    List<MarketingFullreduction> queryList(QueryMarketingFullreductionVo vo);

    /**
     * 根据ID查询
     * @param id
     * @return
     */
    MarketingFullreduction findById(String id);

    /**
     * 创建
     * @param vo
     * @return
     */
    String create(CreateMarketingFullreductionVo vo);

    /**
     * 修改
     * @param vo
     */
    void update(UpdateMarketingFullreductionVo vo);

}

